fix writable check on array.length