bugfix of entry controller
corrected coding style