fixes some jquery ui madness