before form re-positioning