fixed resize and typos