remove unnecessary specification of encoding