pep8
remove some obsolete comment, clearer python syntax
fix how tags are from user