BUGFIX: properly initializing uint64
IMPROVED: removed warnings