fixing resize bug.  moving to thor.