fix bug introduced by rename