return if input arguments are not correct