fixed null issue with require_together