clean up a few gui errors