Fixes wrong namespace declarations