fixing idiot mistakes while reverting