fixed a bug were controlled was not updating