possible fix for the disappearing elements