add corrected sqla