Stake lockup fix