correct property assignment in controller