correction for insertion of jpeg for logo