fix wiki editor bugs