updated to fix late fee calcs