fixed memory release issue in view controller