removed warning message in checkNullArgs