don't submit empty data