fixed some bugs with the remove form and dates acting weird