fixing refernce