U.S., Pakistan Need to ‘Get it Right,’ Obama Says