Fix func command syntax