avoid record bad dependency