@k00b found the bug, I just wrote the code :)