Devils Child #1 the point is, that the error shows up on a line, i didnt expect! that took me a while till i found that error because it occured sometimes on the EndFunction line