was returning object name with extension; separeted the two