Fix syntax error on assert