fixed a hidden character bug