fixed routing error and handle case where homework assignment has no problems