removing trailing question mark