fixed loc bit rotting bug