commit   the last view controller