encoding fix + travis changes