fix None size workaround