remove warnig & unuse code