Housing ministry working "to ensure safety for Chinese firms"