attribute translation, imagecount bug fixed