better solution: https://github.com/joshuaruesweg/WCF/commit/1a3e33f21888a4ab24bc0730e082f7376e42dfc7