convert spave into tab