debugging ring error