Fixed a bug that fails to catch error in Data class