err encounting in majestic