fixed delete record..i think