fixed page param logic on getPins