fixed issue with duplicate answer submission