riley bg fix #35