fix bug profile