get rid of warning when not debug