Fixed deprecated method usage in HelperController