Fixed a bit bug in prev commit