Add error and size event