fix problem introduced in d7367907838f906f7997c322c5111480e205234f: instead of type boolean, it should be type number