fix resource page layout