Solved error display bug