Removes unnecessary var