exception on 0 length return