bug fix in surprise