fix around call mariadb function