bug fix: log file name include unneceassary extention