fixed the min and max age limit