max constrain for go page input