fix Python component loading