fix bug introduced by last update