repair layout call