solved bug on scatter #368