making/reverting mistakes

:( tried to do something stupid, doing it server side is better.