fixed bug when having unequal input sizes