Fixes to actisense after testing