Fixed invalid variable