fix marshyness implementation