fixes in aplicatio.js