fix pagination rooms / buildings