updated bb10 sample for issue #888