fix reference with non compresed png