started linking gui and battle strange bug at buttom of window