throw error when name is empty, dep arrays can be in any casing and they will match the deps they refer to