fix, tested and it works