fix hash param
remove start and error from getRoutes()
check route vars and set default