fixed weird reload bug. as well as centered other pages