fixed the orphan ratings problem