value inline functions fix