fix helper functions