fixed syntax error in init