fix the crash view size