leader: some fixes

use zoneid directly when create new one
raise 400 when response["ret"] is not 0