cleaning up small bugs