remove @SuppressWarnings("deprecation")