fixed pot bug