bug fixes

this should work, will need to clear queue in mongo before running otherwise left over things will break since its expecting certain data keys now in the code.