Read function argument static

Fixed minor bug.