fix routes problem