fixing references..