cleaning up base