fix spec utilities