minor changes for debug and release builds