repair wrong function on diagnostic table