added code to set value of valueless tag to true