fixing small bugs in pages