get rid of E_ERROR

and use proper param parsing routines