attempt 1 at android gallery bug