fixed a bug in OGUI