fix on kernel, when using data return on fn json response