finish comment fixing on res.alloc