added support for vectors in wtr (only one depth), which crashed before