fixed bug with ascensor.js