minor fixes
improved comments