some cleanup and messages