set max num for pos