restrict  movements on  bad blocks