fixed compiling bug from previous commit