form does not calculate total despite checking it.