Solved my problem with knockout