display allocation correctly