Fixed bug that caused genesis() to be called twice.