some error in genmove