fixed GUI stuff