fix admin logging