fixed some bugs and player slot box coloring