Fixed the main and ignore attributes.