fixed moreedges error