* bugfix for corrupted pagination and for returning an array of posts everytime