added method for restoring selected spec