beds index too long