removing lost characters