cleanup for unix