try to fix callback already called error