Fix Generals.php

Fix pass reference