fixed errors, but routing issues remain