real fix + better syntax, thx kaoron