fix app reference.