Fixed definesafeing for helperfunctionfile