corrected errors in routes