Change Retain Phase, add check similar cases