fix stay reference