fix init problem