ensuring that defines are set correctly in the init