fix error in theta validation