Improve clear phones logic