got rid of dup emission