fixed bug in undeop module