turns span tag to hidden