fix bug in createMetageneSpace