added the empty parameters control
demo parameters corrected