fixing reason bugs