Removed a warning which showed in debug mode