fix to call jpg