fix some lint warnings about string and variables