fixed a type in the init