bug fix... a lot of bug fix... from sql statement, to adding a mysql jar
file