fix lab 6 IMS