bug fix for apperance when switch between two navigation controller