fixed behaviour when stepping out of Array.prototype callbacks