another bug fix
rank weights