syntax and type fix