polishing and fixing references