fixing dup error