cleaning up the components