minor fix index of picture attributes