Fixed issue with "apply" route