further corrections for delta recogniztion
set default speed
fixed id generation
fixed id generation