Fix tab indents + more informative message for bad profile