Working on buggy deletebyId