- Fixed error in loop controller