little bug about inserting character at the beginning