show error in occupation view if there is no data