Fixed incorrect variable constructor