bug fix - crash on back press