Add missing colon to if-statement