fixed rls prediction