fixed some lint warning device