Fix some syntax, and bad copy pasta