fixed horrible obsfunc bug. corroborate on robot tomorrow