fix bug caused by leftover copy-paste code