the mb_encoding don't work on non-string so comment out first