fixed global dependency on 'app'