replaced tabs and changed opacity to visibility