Fixed some stuff in malign.