cleanup logable and allow configure