fixing routes for images