fix end of input error in Business Controller