fixed some stuff with the back end douche