bugfix: negative start indices