Fixed rift errors