do not call input callback multiple times in case of a putback