fix model lookup