removes unnecessary specs