added more descriptive error message if marker types are not in global namespace