removing dev code causing warning