fixed two probable bugs