fixed 'DESC' and 'desc' problem

Fixes #287