did a few fixes due to changing from gui to ngui was cuzed