comment out deprecated attribute