add proper handling of ckkw weights