fix a facepalm-worthy error