actor constructor fix