Prettier fix to missing length initialization