fixed few minor things per pull request comments