Explicit set end position to not move
Remove unused namespace

subscribe was being used so a namespace is not needed.