Register button in unregistered directory should be removed #491