changed default json code value to 1