added some nullchecks to concat methods