remove const from return value