fixed error in framework