remove a warning || optimized code