Fixed 'undefined' if first time launch