remove unnecessary string