bug fix for data pull on ubuntu