fix up code on these pages