fix bug dev