Modify deprecated aciton