more proper sprites generation