warning cleanup on linux