fixed bug when  check pass in document folder in iOS5