performance fix for picasa.
fixes #32