Fixed getParameter() returning malformed string object