bugfix: wrong method called in mysql connector