allocation fix