added changes back to offline removal