Remove duplicated function
Remove debug statement
Fixed 'Use of uninitialized value in split' ERROR