remove whitespace
proper c++ cast