fixed error with add when across and down are both 0