fix bug master.pt