fixed some crash cases and instability in cosmetic gui