Fix all error case