fixing errors that mjharrigan found.