illegal err solved