fixed bug in gradle build