fix error profile empty