detection was way too greedy, fixes #58
0.5.4