more effort in making the python components bullet proof