syntax error in wrapper