fix the hack to detect functions getters and setters