fix mysql pdo issue