Dealt with unchecked cast conversion added suppress warning