Bug fix

Fixed small space occur after flip