removed trailing string