changed gui.js