fixed static method call to non static method

Signed-off-by: Raf <7909000@gmail.com>