potential crash in debug mode