fixed a bug in last cl