fix deferrer bug