Fixed the Force Close Bug