fix last operation decorator