test

stop using class BindParam, move json_err back