Remove intent flags