preConfigure was not used, so i fixed it