Fix "max-1" for res sending page