Fixed the flow of the last pages