[BUGFIX] Fixed calling convention