trying to debug double execution and still getting 500