remove unnecessary convertions