added a break statement

Black Magic break statement fixed an issue