check if reverse is available; fix #1396
Merge pull request #1398 from konstin/fix1

check if reverse is available; fix #1396