Checking for faulty concatenation