compare with data nil