Fixed Dead End Bug