added onError to row listener