small otimization
rid of compiler warnings