fixed the exception with an id+1 hack, temporary