fix bug change name of function