refrences changed from shared lib