Redefine Math.log()
Bug fixed with fast entering cursor