Some fixes in ASAStack class