Reworked handlers
Fixed mongo op error