fixed div bugs