incorrect reference bug