lib directory structure fix