small fix and gui