fixed small memory release issue in view controller