add extra newline when creating reference in Images.java