fix picture code