fixed a mistaken static call on Unity4.0