clean up calling undefined fns