fixed reference modal error