Fix n must be positive