fix bugs introduced by last perform enhance commit