fixed fold button recognizing