fix for gradle build