fixes ride object errors