add resolved field to bug model