function being used as a string fix