fix for the logged warning,notice