Removed a couple of lines of code triggering presense timer which were causing an error.