fixed routing issue with model