removing proc bug