fix fucntion Analy