bug fixes for last commit

brafton_id needed to be id