fix type should say WHERE not FROM