Also add type to boolean if the syntax check fails