minor error cleaning up