output format changed to jpg