fixed two bugs