Fix bugs where project manager still uses callback style.