fix event for model & controller