Added "params" check on text and params insertion