handle capcity errors #5