Fixed bug in framework lookup.