added missing $this operator on prepareDefaultParams method call, fixed wrong usage of class constants