fixed fetchAll and delete procedures