some magic for @tab