also, you need to validate for tags's type, preventing tags from being saved if it has invalid data types + return error msg