remove unnecessary suffix