fix stack navigation