mmfunctions ack cleanup and fix