detect if third param is a number