REF minor errors