min had errors