Why am I getting the same submission multiple times?