Making 2.6 compatible.
Fixed string formatting.