fix figure locations