fix @SELECT not working #285