Fix undefined stamps and relativeStamps