solve gui separator's bug