fix pot creation