fixed issue in routing