blackberry: fix #894