cleaned up some minor errors