Fix warnings in delta tool