Fix: Can't use method return value in write context