improve sidebar right type