fix error showing