tweaking lib compact