remove context and arg variables