fixed bug in nudge