fixed bugs in ios4.3