this file also suffers from inconsistent indentation. It may be worth opening all the files in a different editor (like sublime) to fix indentation. Ideally tabs as spaces and 4 spaces per indentation