All of these if statements have mixed spaces and tabs. You can go ahead and delete the 3 spaces and just have them lined up along the same column.