approved spaces count bug