fixed minor app crash bug?