fixed a few x syncronization issues