Change params to jfrom fields
Fix default value and type