Fixed the dependency for shadow