fixed add new logic'