[mod] remove useless dependancy
[mod] autopep8
[mod] docstring formating
[mod] change variable name
[fix] handle the case where UrLab doesn't have any event