corrected values to function calls