fixed orientation change bug for the sync log