Fixed the handledhooks stuff