fixed custom extensions stuff