updated not to set intent flags