remove un-necessary hasCallback