修改Advices类