removing random commands