Fix passing id instead of name.