fixed count bug?