Fixed apples bug