fix style resize