added logged warning