fix empty callback