fixed adding records
gradle build