Fixing bugs with variables, labels and arguments