updated gradle and fixed crash