Cleaning up for OS