s and t flags were swapped
Merge pull request #2 from JoFrhwld/master

s and t flags were swapped