Remove temporary files, fixed routes error