fix bug in moleintor