fixed LogicException due to bad naming