Fixed qplot code