fixed routes

fixed a bug where prefix was not found