bug fix showoff code snippet