Tested in a device and fixed crash.