major: bug fixing of latest major

- solved several problems with empty vectors, data.frames and so on