fix issue with undefined helper methods