fixed gui, not pretty but functional