fix references in sample apps