fix get_mid missing argument error