incorrect paths after removal of unused frame div