fixing local startup sequence