fix empty callback error for queue