fix for internal directory