got rid of empty space after flag