fix bugs in Grab Apple