fix Controller error