fixed showing of assignment buttons