set method fix