update safepos

prevent debug spawns
Merge pull request #51 from SJossy/master

update safepos