changed error into warning to remove stacktrace