temporary fix to handle nested includes
correct extension on nested include copy