fixing crazy tabs