remove unneeded check on char data