Trying to prvent log errors