Fix if there is no callback defined