fixes for animations and widgets