optimization + add show log on phone