variables positioning fix, and iframe duplicated fix