Fixing maxpoint