typos and remove debugger