same errors as above with boolean and integer