Fix typos and add warning