fix bug with previous commit