Fixed undefined coordinator bug