deletion in gallery bug fixed
removed a potential bad CFRelease that analyze caught
some release mode fixes