fixed logger warning