commit hook and initializer now handles None errors
fingers crossed