fix syntax error in init