Fixed argument order for openPage