removed the if condition inside when label is invalid, due to lack of python understand leading to bug
Merge branch 'master' of https://github.com/lukexuanliu/INFO4120