fix first page empty elements