cleanup
fixes https://github.com/epha/matrix/issues/3