fixed viewspec, cant assign null object