fixed assertion syntax error