fix `stack` property construction