add number limit in GUI