real side counts, bugfixes