fix name in image rabbit
Add ending condition