callback set to true before callback called