update dist.ini
fix precedence issue with return
remove smartmatch usage
release 0.4