fix init format (shorter code)