small bugfix setting rel_samples to None