fix #5: performance issue of python loading