trying to fix the references