fix some basic mistakes