fixing bug with adding new recrods