Fixs problem from loading theme