prevent obtrusive code in method calls