fixed control rendering and sync issues