[#45] Added attribute string check and fail with error