add warning and fix bench update