bug fix for move pattern