small fix to handle the url which has slash after action name