changed usage output, fixed const_cast