code cleanup on primer spec file