fix missing callback in else