use 1.8 syntax

also typo