trying to fix stack