modify slf scope to compile