to allow jpg format