fix everything except for delete and random