removed value if it is nil