fixed a facepalm worthy error.