fixed problem with mysql library