migrated to Char, js errors around x3