ignore attribute if its value is false