validate wallpaper image file type to be jpg
fix syntax error