i fixed a size problem in variable allocation temporarily