Fixed a bug in non-debug-mode