fixed Sqlvalue
fixing semiready state