cleaned up a statement