remove scope method