remove jopa messages, close figures