fixed bug where entering no operators would result in an error