Fixed deleting data on build method