Fix error displaying