dateo index debug and some other stuff