bug fix on init navigation controller