Fixed older pictures code