adding warning message when too many vars