fix unicode error in resize command