some improvements for characters