fixed wrong return type in Model->byValue resulting in warnings on profile page