added workaround for inconsistent data types on lists with just one element