minor error cleaned up