Removed undefined when calling callback