Placed an isset around concat to stop crash