fixed issue with temporary files in routes directory brekaing the system