added unallocated amount warning