exchanging spaces for tabs