delete redundant spec