Fix bug on force close