fixed view controller navigation stack issue