fix warnings, update for version