suppress warning without try catch