added autorec
fixed delete autorec