The improved performance in the ternary bulk heterojunction solar cells