prevent conversion for jpg and png