fix genesis block creation