fixing bugs form admin