fix static method bug. crashes appear when trying to call a function through a && reference.