Submit button working sporadically.