Library reference bug correction