updated replace for travis support