fixed duplicate main intent