Fixed framework.sql