support 5.2, don't dereference function result inline