relicbuilder fixes