fix replace getParameter by getOption