setting for both release and debug