fix to wen because the size caused an incorrect allocation