Fixed wrong type argument error by thing-at-point