log bug fix
error handle for file not found