fix mysql reference