fixed param substitution eerror