fixing the fillerati replace function