remove double compilations