Now really fixed the bug with a wrong variable name