Fixed error on missing callback