fix some complaints