Fix wrong funtion names.