fix master sync