fix for the add variable