improve param field auto inject and documentation