ver 6 (1.4) fix sql completed