fix check-in bug - bg not changing correctly on check in / check out