fix char validation in export gui