fix bug when not in debug