fix some methods