remove everything after ? symbol