check null character when adding