bug fixes
fg