clean warnings, comments, indentation, etc.