Fix missing colon and order of method calls

`infoDictionary` should have been declared earlier.