fix boolean and numeric values for rendering

empty($params['key']) does not work for string "false"
Fixed boolean and numeric values for rendering

* origin/pr/732:
  fix boolean and numeric values for rendering