array_pad when spliting DB list to avois undefined offset errors