remove flags that cause error

Change-Id: I7b7b0797bec5bd3241910105c3f22defdbb28c6c