bug in prev commit